package list.functions.accumulator;

/**
 *
 * Fully Tested: No
 * Fully Documented: No
 * Created: 21-Apr-2012
 * Last Updated: 21-Apr-2012
 *
 * @param <T> 
 * @param <E> the return type of getAccumulatedValue
 * @author Shimu Wu
 */
public interface Accumulator<T, E> {
     
    public void reset();
    
    public void accumulate(T element);
    
    public E getAccumulatedValue();
}
